<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:icefusion="http://icefusion.googlecode.com/icefusion">
<body>
<ui:composition template="#{iceFusionConsts.templatePage}">
	<ui:define name="title">
		#{icecube['application.menu.creation.richTextEditor']}
	</ui:define>
	<ui:define name="content">
		#{icecube['application.menu.creation.richTextEditor.text']}
		<ice:panelGrid columns="2" style="width: 100%">
			<ice:form>
				<ice:panelGrid>
			 		<ice:inputRichText value="#{richTextEditor.text}" 
                        toolbar="Default" language="#{context.locale}"
			 			width="550" height="300"/>
			 		<ice:outputText value="#{richTextEditor.text}" />
			 	</ice:panelGrid>
			</ice:form>
			<ice:form>
			 	<ice:panelGrid>
			 		<ice:inputRichText value="#{richTextEditor.textBasic}"
                        toolbar="Basic" language="#{context.locale}"
                        width="350" height="300"/>
			 		<ice:outputText value="#{richTextEditor.textBasic}" />
			 	</ice:panelGrid>
			</ice:form>
		</ice:panelGrid>
   	</ui:define>
</ui:composition>
</body>
</html>